package com.example.clothingmanager.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;

/**
 * @author Huangyt
 * @version 1.0
 * @date 2020/5/8 9:44
 */
@Controller
public class PageController {
    @GetMapping("/clothes_list_page")
    public String clothes_list(){
        System.out.println("成功跳转：clothes_list");
        return "clothes_list";
    }

    @GetMapping("/clothes_index_page")
    public String clothes_index(){
        System.out.println("成功跳转：clothes_index");
        return "clothes_index";
    }

    @GetMapping("/clothes_edit_page")
    public String clothes_edit(){
        System.out.println("成功跳转：clothes_edit");
        return "clothes_edit";
    }

    @GetMapping("/clothes_add_page")
    public String clothes_add(){
        System.out.println("成功跳转：clothes_add");
        return "clothes_add";
    }

    @GetMapping("/instock_list_page")
    public String instock_list(){
        System.out.println("成功跳转：instock_list");
        return "instock_list";
    }

    @GetMapping("/instock_add_page")
    public String instock_add(){
        System.out.println("成功跳转：instock_add");
        return "instock_add";
    }

    @GetMapping("/instock_edit_page")
    public String instock_edit(){
        System.out.println("成功跳转：instock_edit");
        return "instock_edit";
    }

    @GetMapping("/outstock_list_page")
    public String outstock_list(){
        System.out.println("成功跳转：outstock_list");
        return "outstock_list";
    }

    @GetMapping("/outstock_add_page")
    public String outstock_add(){
        System.out.println("成功跳转：outstock_add");
        return "outstock_add";
    }

    @GetMapping("/outstock_edit_page")
    public String outstock_edit(){
        System.out.println("成功跳转：outstock_edit");
        return "outstock_edit";
    }

    @GetMapping("/user_list_page")
    public String user_list(){
        System.out.println("成功跳转：user_list");
        return "user_list";
    }

    @GetMapping("/user_add_page")
    public String user_add(){
        System.out.println("成功跳转：user_add");
        return "user_add";
    }

    @GetMapping("/user_edit_page")
    public String user_edit(){
        System.out.println("成功跳转：user_edit");
        return "user_edit";
    }

    @GetMapping("/user_center_page")
    public String user_center(){
        System.out.println("成功跳转：user_center");
        return "user_center";
    }

    @GetMapping("/login_page")
    public String login(){
        System.out.println("成功跳转：login");
        return "login";
    }
}
